"use strict";

const npmLog = require("npmlog");
npmLog.level = process.env.LOG_LEVEL || "info"; // 设置日志级别
npmLog.addLevel("success", 2000, { fg: "green" }); // 自定义日志级别，通过log.success 调用
// npmLog.heading = "ALONG-DEV:"; // 设置日志前缀
// npmLog.headingStyle = { fg: "blue" }; // 设置日志前缀样式
module.exports = npmLog;
